#!/bin/bash

client=$1
server=$2
hops=$3
id=$4

n1="10.0.0.$(expr $client + 1)"
n2="10.0.0.$(expr $server + 1)"

echo "Running ScriptLocation"

./waf --run "scratch/gpsr2 --client=$client --server=$server" &> LOF

grep "Precision $n2" LOF > results/Location$hops-$id


